import requests
import json
BASE_URL = "http://localhost:8080/api/license-keys"

def test_batch_delete():
    url = BASE_URL + "/delete"
    payload = {
        "action": "delete",
        "keys": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    }
    headers = {'Content-Type': 'application/json'}
    response = requests.post(url, data=json.dumps(payload), headers=headers)
    print("Response:")
    print(response.json())

if __name__ == "__main__":
    test_batch_delete()